using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.HRM
{
	[Table("HrmPrmSubScoreLevel")]
    public class PrmSubScoreLevel
    {
		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[DataMember, Display(Name = "SubScoLevelId", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public int SubScoLevelId { get; set; }

		[ForeignKey("Prm")]
		[DataMember, Display(Name = "PrmId", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public Nullable<int> PrmId { get; set; }

		[ForeignKey("JobSite")]
		[DataMember, Display(Name = "JobSiteId", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public Nullable<int> JobSiteId { get; set; }

		[ForeignKey("StdDtls")]
		[DataMember, Display(Name = "StdDtlsId", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public Nullable<int> StdDtlsId { get; set; }

		[DataMember, Display(Name = "SubScoLevelName", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public string SubScoLevelName { get; set; }

		[DataMember, Display(Name = "ScoMin", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public Nullable<decimal> ScoMin { get; set; }

		[DataMember, Display(Name = "ScoMax", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public Nullable<decimal> ScoMax { get; set; }

		[DataMember, Display(Name = "PercenPromote", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public Nullable<decimal> PercenPromote { get; set; }

		[DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public string RecordStatus { get; set; }

		[DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public Nullable<int> CreatedBy { get; set; }

		[DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

		[DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public Nullable<int> UpdatedBy { get; set; }

		[DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.PrmSubScoreLevelsResource))]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }

		public virtual HRM.PrmManagement Prm { get; set; }

		public virtual HRM.JobSite JobSite { get; set; }

		public virtual HRM.AprStdScoreDtls StdDtls { get; set; }

    }
}